<?

//print_r($naeste_session);


?>
<h2 class="rubrik">Opret Session</h2>

<? 

  $ny_session_nummer = $naeste_session + 1;

?>

	
<form action="<?php echo base_url();?>core/opret/ny/rpg_session/<? echo $kampagne; ?>" method="post">
<input type="hidden" name="kampagne_id" value="<? echo $kampagne; ?>"/>
<input type="hidden" name="nummer" value="<? echo $ny_session_nummer; ?>"/>
<b class="rubrik">Navn:</b>
	<p style="float:right;"><?// echo $ny_session_nummer; ?></p>
	<input type="text" name="navn" value=""/><br>

<br>
<br>


<div style="padding:10px;background:#FEFFF6;border:solid 1px #BEBAA0;">

	<h3 class="rubrik">Ingame</h3>
	
		<p>Start:</p>

		<? 	$birthdata = array (
				"dag" => "dag",
				"maaned" => "maaned",
				"aar" => "aar",
				"alder" => "alder",
				"time" => "time",																
				"minut" => "minut",				
			);
		$this->load->view('forms/tid_ny',$birthdata); ?><input type="checkbox" name="birth" value="check"> uvidst

		<br><br>

		<p>Slut:</p>

		<? 	$deathdata = array (
				"dag" => "dag_2",
				"maaned" => "maaned_2",
				"aar" => "aar_2",
				"alder" => "alder_2",
				"time" => "time_2",																
				"minut" => "minut_2",				
			);
		
			$this->load->view('forms/tid_ny',$deathdata); ?><input id="death_disable" type="checkbox" name="death" value="check"> uvidst / ikke endnu
	
</div>

<br>

<div style="padding:10px;background:#FEFFF6;border:solid 1px #BEBAA0;">

	<h3 class="rubrik">Offgame</h3>
	<p>	
		<b></b>

		<?
			$offgame_data = array (
				"dag" => "dag_offgame",
				"maaned" => "maaned_offgame",
				"aar" => "aar_offgame",
				"alder" => "alder_game",
				"time" => "time_offgame",																
				"minut" => "minut_offgame",				
			);
				
		
		 $this->load->view('forms/tid_offgame',$offgame_data); ?>

	</p>
</div>
<br><br>


<!input type="text" name="ingame_nu" value="">
<input type="hidden" name="aktion" value="opret">
<input  style="float:right;" type="submit" class="terninger" name="" value=" " title="Opret Session"/>
</form>
